package com.asianrapid.dao;

import com.asianrapid.model.sys.LampEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface LampDao {
    public ArrayList<LampEntity> lampList(@Param("pageSize") int pageSize, @Param("start") int start, @Param("state") int state);
    public Integer lampSize(@Param("pageSize") int pageSize,@Param("start") int start,@Param("state") int state);


    void insertLamp(@Param("lampEntity") LampEntity lampEntity);
    void updateLamp(@Param("lampEntity") LampEntity lampEntity);
    void updateDeleteLamp(@Param("groupId") List<String> groupId);


    LampEntity getLamp(@Param("groupId") Integer groupId);

}
